Nearby
Nearby:
Get nearby places by providing radius and coordinates.
import { setConfig, nearby} from "barikoiapis";
nearby(1, 5, { latitude: 23.810331, longitude: 90.412521 })
.then((response) => {
console.log(response);
})
.catch((err) => {
console.log(err);
});
Barikoi nearby initially returns:
id
, name
, distance_in_meters
, longitude
, latitude
, pType
, Address
, area
, city
, postCode
, subType
, uCode
, ST_AsText(location)
.